package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.Department;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * author:wp
 * time:19:24 2018/05/31
 */
public interface DepartmentService {

    Department findById(Integer id);

    int addOne(Department department);

    int update(Department department);

    int deleteById(Integer id);

    Department findByName(String name);

    List<Department> findBySchoolid(Integer schoolid);

}